package com.example.nextstream.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.nextstream.models.AssetsInfo;
import com.example.nextstream.models.User;

public interface UserService extends IService<User> {
    String getToken(String username, String password);
    Boolean createUser(User user);
    Boolean deleteUser(Integer userId);
    User getUserById(Integer id);
    Page<User> listUser(int pageNum, int pageSize);
    Boolean updateUser(User user);
    User getUserByName(String username);
    Integer countUser();

}
